-
Notifications
You must be signed in to change notification settings - Fork 28.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pin_memory -> dataloader_pin_memory #9874
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent. Thank you, @abhishekkrthakur
Co-authored-by: Stas Bekman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Also, can you take the time to write short descriptions of your PR please? The PRs are linked to the release notes and some users use the descriptions to get some info about the features.
Updated with review comments. Please let me know if/when it's okay to merge :) |
Good for me, thanks a lot! |
this is much better, thank you for the adjustment, @abhishekkrthakur |
Ref: #9857 (comment)
This PR adds a new argument
dataloader_pin_memory
toTrainingArguments
. You can use this to pin memory inDataLoader
.